package com.weiyuwqj.server.mapper;

import com.weiyuwqj.api.model.BasItem;
import com.weiyuwqj.api.model.SysContracts;
import com.weiyuwqj.api.model.vo.ContractsVo;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;
@Repository
public interface SysContractsMapper extends Mapper<SysContracts> {
    List<ContractsVo> getList(Map<String, Object> map);

    SysContracts getContractsByInvestId(Integer investId);

    List<ContractsVo> listByItemId(Map map);

    List<BasItem> listItemNoContracts();
}